<script>
var a = 'a'
if(true){
    a = 'b'
    let a = 'c'
    console.log(a)
}
//报错
</script>